package com.wl.api.dto.system;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.wl.api.dto.base.PaginationConst;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SecurityChannelAreaServicePartnerDTO extends PaginationConst implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	private Integer serviceId;

	private Integer partnerId;

	private String name;

	private String desc;

	private String logoService;

	private BigDecimal amountSt;

	private BigDecimal amountEd;

	private Date createTime;
	
	private Integer status;
	
	/** 	折扣区间*/
	private List<SecurityChannelAreaLadderPriceDTO> pickupLadderList;
	
	private String partnerName;


	public SecurityChannelAreaServicePartnerDTO buildLadderList(List<SecurityChannelAreaLadderPriceDTO> list) {
		this.pickupLadderList = list;
		return this;
	}
	
	public SecurityChannelAreaServicePartnerDTO buildPartnerName(String partnerName) {
		this.partnerName = partnerName;
		return this;
	}
}
